﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Item.Master" AutoEventWireup="true"
    CodeBehind="AutoGennoDetail.aspx.cs" Inherits="SGRapidForm.Foundation.AutoGennoDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cpHeader" runat="server">
    <script src="AutoGennoDetail.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpBody" runat="server">
 <div class="ui-menu">
        <uc:Menu ID="menu1" runat="server" DataFile="../Views/Foundation/Menu/AutoGennoDetail.xml"
            PageCode="AutoGennoDetail" />
    </div>
    <div class="ui-wrapper">
        <div class="ui-hidden">
            <dx:ASPxLabel ID="lblKeyid" ClientInstanceName="lblKeyid" runat="server" />
        </div>
        <ul class="ui-list">
            <li>
                <dx:ASPxLabel ID="lblNoclass" runat="server" ForeColor="Red" Text="编码：" AssociatedControlID="txtNoclass" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtNoclass" ClientInstanceName="txtNoclass" runat="server" Width="120px">
                    <ValidationSettings>
                        <RequiredField IsRequired="True" ErrorText="编码必须填写" />
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="lblLocalid" runat="server" Text="是否包含部门：" />
            </li>
            <li>
                <dx:ASPxRadioButtonList ID="rblLocalid" ClientIDMode="Static" ClientInstanceName="rblLocalid" ItemSpacing="0"
                    runat="server" RepeatDirection="Horizontal" RepeatLayout="Table" Paddings-Padding="0" Width="120" >
                    <ClientSideEvents SelectedIndexChanged="doSelectedRadtioItem" />
                    <Items>
                        <dx:ListEditItem Text="是" Value="true" />
                        <dx:ListEditItem Text="否" Value="false" />
                    </Items>
                    <Paddings Padding="0" />
                </dx:ASPxRadioButtonList>
            </li>
            <li>
                <dx:ASPxLabel ID="lblAutogenid" runat="server" Text="是否自动编码：" />
            </li>
            <li>
                <dx:ASPxRadioButtonList ID="rblAutogenid" ClientInstanceName="rblAutogenid" runat="server"
                    RepeatDirection="Horizontal" RepeatLayout="Table" Width="120">
                    <Items>
                        <dx:ListEditItem Text="是" Value="true" />
                        <dx:ListEditItem Text="否" Value="false" />
                    </Items>
                    <Paddings Padding="0" />
                </dx:ASPxRadioButtonList>
            </li>
            <li>
                <dx:ASPxLabel ID="lblNopre" runat="server" Text="前缀：" AssociatedControlID="txtNopre" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtNopre" ClientInstanceName="txtNopre" runat="server" Width="120px">
                 
                </dx:ASPxTextBox>
            </li>
        </ul>
        <ul class="ui-list">
            <li>
                <dx:ASPxLabel ID="lblSplitter" runat="server" Text="分隔符：" AssociatedControlID="txtSplitter" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtSplitter" ClientInstanceName="txtSplitter" runat="server"
                    Width="120px">
                 <%--   <ValidationSettings>
                        <RequiredField IsRequired="True" ErrorText="分隔符必须填写" />
                    </ValidationSettings>--%>
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="lblYearid" runat="server" Text="包含年份：" />
            </li>
            <li>
                <dx:ASPxRadioButtonList ID="rblYearid" ClientIDMode="Static" ClientInstanceName="rblYearid"
                    runat="server" RepeatDirection="Horizontal" RepeatLayout="Table" Width="120">
                    <ClientSideEvents SelectedIndexChanged="doSelectedRadtioItem" />
                    <Items>
                        <dx:ListEditItem Text="是" Value="true" />
                        <dx:ListEditItem Text="否" Value="false" />
                    </Items>
                    <Paddings Padding="0" />
                </dx:ASPxRadioButtonList>
            </li>
           
            <li>
                <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="年份位数：" />
            </li>
            <li>
                <dx:ASPxRadioButtonList ID="rblYearFormat" ClientIDMode="Static" ClientInstanceName="rblYearFormat"
                    runat="server" RepeatDirection="Horizontal" RepeatLayout="Table" Width="120">
                    <ClientSideEvents SelectedIndexChanged="doSelectedYearFormat" />
                    <Items>
                        <dx:ListEditItem Text="四位" Value="4" />
                        <dx:ListEditItem Text="两位" Value="2" />
                    </Items>
                    <Paddings Padding="0" />
                </dx:ASPxRadioButtonList>
            </li>
             <li>
                <dx:ASPxLabel ID="lblMonthid" runat="server" Text="包含月份：" />
            </li>
            <li>
                <dx:ASPxRadioButtonList ID="rblMonthid" ClientIDMode="Static" ClientInstanceName="rblMonthid"
                    runat="server" RepeatDirection="Horizontal" RepeatLayout="Table" Width="120">
                    <ClientSideEvents SelectedIndexChanged="doSelectedRadtioItem" />
                    <Items>
                        <dx:ListEditItem Text="是" Value="true" />
                        <dx:ListEditItem Text="否" Value="false" />
                    </Items>
                    <Paddings Padding="0" />
                </dx:ASPxRadioButtonList>
            </li>
          
        </ul>
        <ul class="ui-list ">
              <li>
                <dx:ASPxLabel ID="lblDateid" runat="server" Text="包含日期：" />
            </li>
            <li>
                <dx:ASPxRadioButtonList ID="rblDateid" ClientIDMode="Static" ClientInstanceName="rblDateid"
                    runat="server" RepeatDirection="Horizontal" RepeatLayout="Table" Width="120">
                    <ClientSideEvents SelectedIndexChanged="doSelectedRadtioItem" />
                    <Items>
                        <dx:ListEditItem Text="是" Value="true" />
                        <dx:ListEditItem Text="否" Value="false" />
                    </Items>
                    <Paddings Padding="0" />
                </dx:ASPxRadioButtonList>
            </li>
            <li>
                <dx:ASPxLabel ID="lblSno" runat="server" Text="序号位数：" AssociatedControlID="txtSno" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtSno" ClientInstanceName="txtSno" runat="server" Width="120px">
                    <ValidationSettings>
                        <RequiredField IsRequired="True" ErrorText="序号必须填写" />
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="lblRuleno" runat="server" Text="规则：" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtRuleno" ClientInstanceName="txtRuleno" runat="server" Enabled="false"
                    Width="340px">
                </dx:ASPxTextBox>
            </li>
            
        </ul>
        <ul class="ui-list ">
            <li>
                <dx:ASPxLabel ID="lblExampleno" runat="server" Text="例子：" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtExampleno" ClientInstanceName="txtExampleno" runat="server"
                    Width="340px">
                </dx:ASPxTextBox>
            </li>
        </ul>
        <div class="ui-validation">
            <dx:ASPxValidationSummary ID="vsSummary" runat="server" RenderMode="BulletedList"
                Width="100%" ClientInstanceName="validationSummary" ShowErrorsInEditors="false"
                ShowErrorAsLink="true">
            </dx:ASPxValidationSummary>
        </div>
        <ul class="sl-floatcenter clearfix ui-btn-bottom ui-btn-saveforadd">
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnSaveToAdd" ClientInstanceName="btnSaveToAdd" runat="server"
                    Text="保 存" AutoPostBack="false">
                    <ClientSideEvents Click="doSaveForAdd" />
                </dx:ASPxButton>
            </li>
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnSaveAndContinueToAdd" ClientInstanceName="btnSaveAndContinueToAdd"
                    runat="server" Text="保存完继续新增" AutoPostBack="false">
                    <ClientSideEvents Click="doSaveAndContinueToAdd" />
                </dx:ASPxButton>
            </li>
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnResetForAdd" ClientInstanceName="btnResetForAdd" runat="server"
                    Text="重 置" AutoPostBack="false">
                    <ClientSideEvents Click="doResetForAdd" />
                </dx:ASPxButton>
            </li>
        </ul>
        <ul class="sl-floatcenter clearfix ui-btn-bottom ui-btn-saveforedit">
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnSaveToEdit" ClientInstanceName="btnSaveToEdit" runat="server"
                    Text="保 存" AutoPostBack="false">
                    <ClientSideEvents Click="doSaveForEdit" />
                </dx:ASPxButton>
            </li>
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnCancelForEdit" ClientInstanceName="btnCancelForEdit" runat="server"
                    Text="取 消" AutoPostBack="false">
                    <ClientSideEvents Click="doCancelForEdit" />
                </dx:ASPxButton>
            </li>
        </ul>
    </div>
     <div class="ui-state">
        <ul>
            <li>创建人： </li>
            <li>
                <dx:ASPxLabel ID="lblCreateName" ClientInstanceName="lblCreateName" runat="server" />
            </li>
            <li class="ui-state-seperator">| </li>
            <li>创建日期： </li>
            <li>
                <dx:ASPxLabel ID="lblCreateDate" ClientInstanceName="lblCreateDate" runat="server" />
            </li>
            <li class="ui-state-seperator">| </li>
            <li>编辑人： </li>
            <li>
                <dx:ASPxLabel ID="lblModifyName" ClientInstanceName="lblModifyName" runat="server" />
            </li>
            <li class="ui-state-seperator">| </li>
            <li>编辑日期： </li>
            <li>
                <dx:ASPxLabel ID="lblModifyDate" ClientInstanceName="lblModifyDate" runat="server" />
            </li>
        </ul>
    </div>
</asp:Content>
